package controller;

import java.sql.SQLException;
import java.util.ArrayList;

import model.Pizza;
import dao.PizzaDAO;

public class CardapioController {
	
	public ArrayList<Pizza> listarPizzas() throws SQLException {
		PizzaDAO pDAO = new PizzaDAO();

		ArrayList<Pizza> cardapio = pDAO.listarPizzas();
		
		return cardapio;
	}
}